package context.support;

import beans.factorys.support.DefaultBeanFactory;
import beans.factorys.xml.XmlBeanDefinitionReader;
import core.io.FileSystemResource;
import core.io.Resource;

/**
 * Created by ZhaiGuaili on 2018/7/6.
 */
public class FileSystemXmlApplicationContext extends AbstractApplicationContext{
    DefaultBeanFactory beanFactory;

    public FileSystemXmlApplicationContext(String filePath){
       super(filePath);
    }


    @Override
    protected Resource getResourceByPath(String configFile) {
        return new FileSystemResource(configFile);
    }
}
